package com.zrrd.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanjl
 * @since 2024-09-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="GoodsSkus对象", description="")
public class GoodsSkus implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String image;

    private BigDecimal pprice;

    private BigDecimal oprice;

    private BigDecimal cprice;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "体积")
    private Float volume;

    @ApiModelProperty(value = "体重")
    private Float weight;

    @ApiModelProperty(value = "编码")
    private String code;

    private Integer goodsId;

    @ApiModelProperty(value = "对应sku的id组合")
    private String skus;


}
